#ifndef COMMON_H
#define COMMON_H

#include <string>

void replaceStringInPlace(std::string& subject, const std::string& search, const std::string& replace);
bool isDigit(const std::string s);
void message(const char* level, const char* msg);
std::string UTF8ToGBK(const char* strUTF8);
std::string GBKToUTF8(const char* strGBK);

#endif // !COMMON_H
